<!--

     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
     distributed with this work for additional information
     regarding copyright ownership.  The ASF licenses this file
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.

-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- **************************************************************** -->
<!-- *  PLEASE KEEP COMPLICATED EXPRESSIONS OUT OF THESE TEMPLATES, * -->
<!-- *  i.e. only iterate & print data where possible. Thanks, Jez. * -->
<!-- **************************************************************** -->

<html>
<head>
    <!-- Generated by groovydoc (2.4.7) on Thu Dec 01 22:36:12 PST 2016 -->
    <title>TransactionFacadeImpl (Moqui Framework 2.0.0)</title>
    <meta name="date" content="2016-12-01">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
    <link href="../../../../groovy.ico" type="image/x-icon" rel="icon">
    <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">

<body class="center">
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
    parent.document.title="TransactionFacadeImpl (Moqui Framework 2.0.0)";
}
//-->
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
    <!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../index-all.html">Index</a></li>
        <li><a href="../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../index.html?org/moqui/impl/context/TransactionFacadeImpl" target="_top">Frames</a></li>
            <li><a href="TransactionFacadeImpl.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            <li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <a name="skip-navbar_top">
        <!--   -->
    </a></div>
<!-- ========= END OF TOP NAVBAR ========= -->

<!-- ======== START OF CLASS DATA ======== -->
<div class="header">

    <div class="subTitle">Package: <strong>org.moqui.impl.context</strong></div>

    <h2 title="[Groovy] Class TransactionFacadeImpl" class="title">[Groovy] Class TransactionFacadeImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><ul class="inheritance"></ul></li><li>org.moqui.impl.context.TransactionFacadeImpl
</ul>
<div class="description">
    <ul class="blockList">
        <li class="blockList">

            <dl>
                <dt>All Implemented Interfaces and Traits:</dt>
                <dd><a href='../../../../org/moqui/context/TransactionFacade.html'>TransactionFacade</a></dd>
            </dl>
            <!-- todo: direct known subclasses -->
            <hr>
            <br>
<pre>@groovy.transform.CompileStatic
class TransactionFacadeImpl
extends java.lang.Object

</pre>



          </li>
    </ul>
</div>

<div class="summary">
    <ul class="blockList">
        <li class="blockList">
        <!-- =========== NESTED CLASS SUMMARY =========== -->
        

        <!-- =========== ENUM CONSTANT SUMMARY =========== -->
        
        <!-- =========== FIELD SUMMARY =========== -->
        
            <ul class="blockList">
                <li class="blockList"><a name="field_summary"><!--   --></a>
                    <h3>Field Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum constants summary table">
                        <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Modifiers</th>
                            <th class="colLast" scope="col">Name</th>
                            <th class="colLast" scope="col">Description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>protected&nbsp;<a href='../../../../org/moqui/impl/context/ExecutionContextFactoryImpl.html'>ExecutionContextFactoryImpl</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#ecfi">ecfi</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong>protected&nbsp;static&nbsp;boolean</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#isTraceEnabled">isTraceEnabled</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>protected&nbsp;static&nbsp;org.slf4j.Logger</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#logger">logger</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong>protected&nbsp;static&nbsp;boolean</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#requireNewThread">requireNewThread</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>protected&nbsp;javax.transaction.TransactionManager</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#tm">tm</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong>protected&nbsp;<a href='../../../../org/moqui/context/TransactionInternal.html'>TransactionInternal</a></strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#transactionInternal">transactionInternal</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>protected&nbsp;boolean</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#useConnectionStash">useConnectionStash</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><strong>protected&nbsp;boolean</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#useTransactionCache">useTransactionCache</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><strong>protected&nbsp;javax.transaction.UserTransaction</strong></code>&nbsp;</td>
                            <td class="colLast"><code><a href="#ut">ut</a></code></td>
                            <td class="colLast"></code></td>
                        </tr>
                        
                    </table>
                   </ul>
                </li>
                
            </ul>
        

        <!-- =========== PROPERTY SUMMARY =========== -->
        

        <!-- =========== ELEMENT SUMMARY =========== -->
        

        
        <!-- ======== CONSTRUCTOR SUMMARY ======== -->
        <ul class="blockList">
                <li class="blockList"><a name="constructor_summary"><!--   --></a>
                    <h3>Constructor Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructors Summary table">
                        <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Constructor and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst">
                                <code><a href="#TransactionFacadeImpl(org.moqui.impl.context.ExecutionContextFactoryImpl)">TransactionFacadeImpl</a></strong>
                                (<a href='../../../../org/moqui/impl/context/ExecutionContextFactoryImpl.html'>ExecutionContextFactoryImpl</a> ecfi)</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
        </ul>
        

        
        <!-- ========== METHOD SUMMARY =========== -->
        <ul class="blockList">
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Methods Summary table">
                        <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Type</th>
                            <th class="colLast" scope="col">Name and description</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#begin(java.lang.Integer)">begin</a></strong>(java.lang.Integer timeout)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#commit(boolean)">commit</a></strong>(boolean beganTransaction)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#commit()">commit</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#destroy()">destroy</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#destroyAllInThread()">destroyAllInThread</a></strong>()</code><br>This is called to make sure all transactions, etc are closed for the thread.
 </td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.sql.Connection</strong></code></td>
                            <td class="colLast"><code><strong><a href="#enlistConnection(javax.sql.XAConnection)">enlistConnection</a></strong>(javax.sql.XAConnection con)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#enlistResource(javax.transaction.xa.XAResource)">enlistResource</a></strong>(javax.transaction.xa.XAResource resource)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#flushAndDisableTransactionCache()">flushAndDisableTransactionCache</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>javax.transaction.Synchronization</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getActiveSynchronization(java.lang.String)">getActiveSynchronization</a></strong>(java.lang.String syncName)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>javax.transaction.xa.XAResource</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getActiveXaResource(java.lang.String)">getActiveXaResource</a></strong>(java.lang.String resourceName)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Long</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getCurrentTransactionStartTime()">getCurrentTransactionStartTime</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>int</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getStatus()">getStatus</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.String</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getStatusString()">getStatusString</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code><a href='../../../../org/moqui/impl/context/TransactionCache.html'>TransactionCache</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTransactionCache()">getTransactionCache</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code><a href='../../../../org/moqui/context/TransactionInternal.html'>TransactionInternal</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTransactionInternal()">getTransactionInternal</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>javax.transaction.TransactionManager</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTransactionManager()">getTransactionManager</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.sql.Connection</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTxConnection(java.lang.String)">getTxConnection</a></strong>(java.lang.String groupName)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>protected&nbsp;<a href='../../../../TxStackInfo.html'>TxStackInfo</a></strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTxStackInfo()">getTxStackInfo</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>protected&nbsp;java.util.LinkedList&lt;TxStackInfo&gt;</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getTxStackInfoList()">getTxStackInfoList</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>javax.transaction.UserTransaction</strong></code></td>
                            <td class="colLast"><code><strong><a href="#getUserTransaction()">getUserTransaction</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#initTransactionCache()">initTransactionCache</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isTransactionActive()">isTransactionActive</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isTransactionCacheActive()">isTransactionCacheActive</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isTransactionInPlace()">isTransactionInPlace</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#isTransactionOperable()">isTransactionOperable</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>protected&nbsp;void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#popTxStackInfo()">popTxStackInfo</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#populateTransactionObjectsJndi()">populateTransactionObjectsJndi</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>protected&nbsp;void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#pushTxStackInfo(javax.transaction.Transaction, java.lang.Exception)">pushTxStackInfo</a></strong>(javax.transaction.Transaction tx, java.lang.Exception txLocation)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#putAndEnlistActiveSynchronization(java.lang.String, javax.transaction.Synchronization)">putAndEnlistActiveSynchronization</a></strong>(java.lang.String syncName, javax.transaction.Synchronization sync)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#putAndEnlistActiveXaResource(java.lang.String, javax.transaction.xa.XAResource)">putAndEnlistActiveXaResource</a></strong>(java.lang.String resourceName, javax.transaction.xa.XAResource xar)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#registerSynchronization(javax.transaction.Synchronization)">registerSynchronization</a></strong>(javax.transaction.Synchronization sync)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#resume()">resume</a></strong>()</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#rollback(boolean, java.lang.String, java.lang.Throwable)">rollback</a></strong>(boolean beganTransaction, java.lang.String causeMessage, java.lang.Throwable causeThrowable)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#rollback(java.lang.String, java.lang.Throwable)">rollback</a></strong>(java.lang.String causeMessage, java.lang.Throwable causeThrowable)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#runRequireNew(java.lang.Integer, java.lang.String, groovy.lang.Closure)">runRequireNew</a></strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#runRequireNew(java.lang.Integer, java.lang.String, boolean, boolean, groovy.lang.Closure)">runRequireNew</a></strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, boolean beginTx, boolean threadReuseEci, groovy.lang.Closure closure)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.lang.Object</strong></code></td>
                            <td class="colLast"><code><strong><a href="#runUseOrBegin(java.lang.Integer, java.lang.String, groovy.lang.Closure)">runUseOrBegin</a></strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>void</strong></code></td>
                            <td class="colLast"><code><strong><a href="#setRollbackOnly(java.lang.String, java.lang.Throwable)">setRollbackOnly</a></strong>(java.lang.String causeMessage, java.lang.Throwable causeThrowable)</code><br></td>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>java.sql.Connection</strong></code></td>
                            <td class="colLast"><code><strong><a href="#stashTxConnection(java.lang.String, java.sql.Connection)">stashTxConnection</a></strong>(java.lang.String groupName, java.sql.Connection con)</code><br></td>
                        </tr>
                        
                        <tr class="rowColor">
                            <td class="colFirst"><code>boolean</strong></code></td>
                            <td class="colLast"><code><strong><a href="#suspend()">suspend</a></strong>()</code><br></td>
                        </tr>
                        
                    </table>
                   </ul>
              </li>
            
            <li class="blockList"><a name="method_summary"><!--   --></a>
                    <h3>Inherited Methods Summary</h3>
                    <ul class="blockList">
                    <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Inherited Methods Summary table">
                        <caption><span>Inherited Methods</span><span class="tabEnd">&nbsp;</span></caption>
                        <tr>
                            <th class="colFirst" scope="col">Methods inherited from class</th>
                            <th class="colLast" scope="col">Name</th>
                        </tr>
                        
                        <tr class="altColor">
                            <td class="colFirst"><code>class java.lang.Object</strong></code></td>
                            <td class="colLast"><code>java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()</code></td>
                        </tr>
                    </table>
                   </ul>
              </li>
                
        </ul>
        
    </li>
    </ul>
</div>

<div class="details">
    <ul class="blockList">
        <li class="blockList">
           

            
            <!-- =========== FIELD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="field_detail">
                    <!--   -->
                </a>
                    <h3>Field Detail</h3>
                    
                        <a name="ecfi"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;final&nbsp;<a href='../../../../org/moqui/impl/context/ExecutionContextFactoryImpl.html'>ExecutionContextFactoryImpl</a> <strong>ecfi</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isTraceEnabled"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;static&nbsp;final&nbsp;boolean <strong>isTraceEnabled</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="logger"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;static&nbsp;final&nbsp;org.slf4j.Logger <strong>logger</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="requireNewThread"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;static&nbsp;final&nbsp;boolean <strong>requireNewThread</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="tm"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;javax.transaction.TransactionManager <strong>tm</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="transactionInternal"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;<a href='../../../../org/moqui/context/TransactionInternal.html'>TransactionInternal</a> <strong>transactionInternal</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="useConnectionStash"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;boolean <strong>useConnectionStash</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="useTransactionCache"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;boolean <strong>useTransactionCache</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="ut"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;javax.transaction.UserTransaction <strong>ut</strong></h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            

            

            

            
            <!-- =========== CONSTRUCTOR DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="constructor_detail">
                    <!--   -->
                </a>
                    <h3>Constructor Detail</h3>
                    
                        <a name="TransactionFacadeImpl(org.moqui.impl.context.ExecutionContextFactoryImpl)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><strong>TransactionFacadeImpl</strong>(<a href='../../../../org/moqui/impl/context/ExecutionContextFactoryImpl.html'>ExecutionContextFactoryImpl</a> ecfi)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            


            
            <!-- =========== METHOD DETAIL =========== -->
            <ul class="blockList">
                <li class="blockList"><a name="method_detail">
                    <!--   -->
                </a>
                    <h3>Method Detail</h3>
                    
                        <a name="begin(java.lang.Integer)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
boolean <strong>begin</strong>(java.lang.Integer timeout)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="commit(boolean)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>commit</strong>(boolean beganTransaction)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="commit()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>commit</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="destroy()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>destroy</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="destroyAllInThread()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>destroyAllInThread</strong>()</h4>
                                <p> This is called to make sure all transactions, etc are closed for the thread.
 It commits any active transactions, clears out internal data for the thread, etc.
     </p>
                            </li>
                        </ul>
                    
                        <a name="enlistConnection(javax.sql.XAConnection)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
java.sql.Connection <strong>enlistConnection</strong>(javax.sql.XAConnection con)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="enlistResource(javax.transaction.xa.XAResource)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>enlistResource</strong>(javax.transaction.xa.XAResource resource)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="flushAndDisableTransactionCache()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>flushAndDisableTransactionCache</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getActiveSynchronization(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
javax.transaction.Synchronization <strong>getActiveSynchronization</strong>(java.lang.String syncName)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getActiveXaResource(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
javax.transaction.xa.XAResource <strong>getActiveXaResource</strong>(java.lang.String resourceName)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getCurrentTransactionStartTime()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Long <strong>getCurrentTransactionStartTime</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getStatus()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
int <strong>getStatus</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getStatusString()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
java.lang.String <strong>getStatusString</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTransactionCache()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../org/moqui/impl/context/TransactionCache.html'>TransactionCache</a> <strong>getTransactionCache</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTransactionInternal()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4><a href='../../../../org/moqui/context/TransactionInternal.html'>TransactionInternal</a> <strong>getTransactionInternal</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTransactionManager()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>javax.transaction.TransactionManager <strong>getTransactionManager</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTxConnection(java.lang.String)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.sql.Connection <strong>getTxConnection</strong>(java.lang.String groupName)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTxStackInfo()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;<a href='../../../../TxStackInfo.html'>TxStackInfo</a> <strong>getTxStackInfo</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getTxStackInfoList()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;java.util.LinkedList&lt;TxStackInfo&gt; <strong>getTxStackInfoList</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="getUserTransaction()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>javax.transaction.UserTransaction <strong>getUserTransaction</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="initTransactionCache()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>initTransactionCache</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isTransactionActive()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>boolean <strong>isTransactionActive</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isTransactionCacheActive()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
boolean <strong>isTransactionCacheActive</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isTransactionInPlace()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
boolean <strong>isTransactionInPlace</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="isTransactionOperable()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>boolean <strong>isTransactionOperable</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="popTxStackInfo()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;void <strong>popTxStackInfo</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="populateTransactionObjectsJndi()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>void <strong>populateTransactionObjectsJndi</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="pushTxStackInfo(javax.transaction.Transaction, java.lang.Exception)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>protected&nbsp;void <strong>pushTxStackInfo</strong>(javax.transaction.Transaction tx, java.lang.Exception txLocation)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="putAndEnlistActiveSynchronization(java.lang.String, javax.transaction.Synchronization)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>putAndEnlistActiveSynchronization</strong>(java.lang.String syncName, javax.transaction.Synchronization sync)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="putAndEnlistActiveXaResource(java.lang.String, javax.transaction.xa.XAResource)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>putAndEnlistActiveXaResource</strong>(java.lang.String resourceName, javax.transaction.xa.XAResource xar)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="registerSynchronization(javax.transaction.Synchronization)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>registerSynchronization</strong>(javax.transaction.Synchronization sync)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="resume()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>resume</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="rollback(boolean, java.lang.String, java.lang.Throwable)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>rollback</strong>(boolean beganTransaction, java.lang.String causeMessage, java.lang.Throwable causeThrowable)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="rollback(java.lang.String, java.lang.Throwable)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>rollback</strong>(java.lang.String causeMessage, java.lang.Throwable causeThrowable)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="runRequireNew(java.lang.Integer, java.lang.String, groovy.lang.Closure)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
java.lang.Object <strong>runRequireNew</strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="runRequireNew(java.lang.Integer, java.lang.String, boolean, boolean, groovy.lang.Closure)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.lang.Object <strong>runRequireNew</strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, boolean beginTx, boolean threadReuseEci, groovy.lang.Closure closure)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="runUseOrBegin(java.lang.Integer, java.lang.String, groovy.lang.Closure)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
java.lang.Object <strong>runUseOrBegin</strong>(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="setRollbackOnly(java.lang.String, java.lang.Throwable)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
void <strong>setRollbackOnly</strong>(java.lang.String causeMessage, java.lang.Throwable causeThrowable)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="stashTxConnection(java.lang.String, java.sql.Connection)"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>java.sql.Connection <strong>stashTxConnection</strong>(java.lang.String groupName, java.sql.Connection con)</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                        <a name="suspend()"><!-- --></a>
                        <ul class="blockListLast">
                            <li class="blockList">
                                <h4>@java.lang.Override
boolean <strong>suspend</strong>()</h4>
                                <p></p>
                            </li>
                        </ul>
                    
                </li>
            </ul>
            
        </li>
    </ul>
</div>

<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
    <!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
    <!--   -->
</a>
    <ul class="navList" title="Navigation">
        <li><a href="../../../../overview-summary.html">Overview</a></li>
        <li><a href="package-summary.html">Package</a></li>
        <li class="navBarCell1Rev">Class</li>
        <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
        <li><a href="../../../../index-all.html">Index</a></li>
        <li><a href="../../../../help-doc.html">Help</a></li>
    </ul>
</div>

<div class="subNav">
    <div>
        <ul class="navList">
            <li><a href="../../../../index.html?org/moqui/impl/context/TransactionFacadeImpl" target="_top">Frames</a></li>
            <li><a href="TransactionFacadeImpl.html" target="_top">No Frames</a></li>
        </ul>
    </div>
    <div>
        <ul class="subNavList">
            <li>Summary:&nbsp;</li>
            Nested&nbsp;&nbsp;&nbsp;<li><a href="#field_summary">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_summary">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_summary">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
        <ul class="subNavList">
            <li>&nbsp;|&nbsp;Detail:&nbsp;</li>
            <li><a href="#field_detail">Field</a></li>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<li><a href="#constructor_detail">Constructor</a></li>&nbsp;&nbsp;&nbsp;<li><a href="#method_detail">Method</a></li>&nbsp;&nbsp;&nbsp;
        </ul>
    </div>
    <p>Groovy Documentation</p>
    <a name="skip-navbar_bottom">
        <!--   -->
    </a>
    </div>
</div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
